﻿using Order.MicroService.Models;
using Order.MicroService.ViewModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Order.MicroService.IService
{
    public interface IOrderService
    {
        string GetOrderInfo(string name);
        string TestOrder();
        string GetEntity();
        /// <summary>
        /// 获取所有订单数据
        /// </summary>
        /// <returns></returns>
        IEnumerable<Orders> GetOrdersInfo();
        int AddOrders(AddOrdersInfoDto orders);
        int UpdateOrders(Orders orders);
    }
}
